package com.zeldu.common.util;

import java.util.regex.Pattern;


public class MailUtil {
    public  static  boolean checkMail(String email){
      String regex=  "^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)+$";
        return Pattern.matches(regex, email);
    }
}
